package fr.norsys.mapper.console.service;

import java.util.Collection;

import fr.norsys.mapper.console.exception.ApplicationException;
import fr.norsys.mapper.console.model.Application;

public interface ApplicationService {
	Collection getApplicationsFromFileSystem() throws ApplicationException;
	void save(Application application,Collection applications) throws ApplicationException;
	void delete(String id,Collection applications) throws ApplicationException;
	Application get(String id,Collection applications) throws ApplicationException;
	void modifyConnection(Application application,String connectionName) throws ApplicationException;
	void deleteRes(String resource, Application application) throws ApplicationException;
	String getAppliDirPath();
}